class GFObjext:
    def __init__(self):
        self.gfcount=0
    
    def count(self):
        self.gfcount+=1
        return self.gfcount
    
def gfCount(
    obj:GFObjext=GFObjext()
):
    return obj.count()

if __name__ == "__main__":
    for i in range(10):
        print(gfCount())